package org.byqh.dqeai.entity;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityFileProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.byqh.dqeai.entity.proxy.SysAppSetupTemplateProxy;

import java.time.LocalDateTime;

/**
 * 实体类。
 *
 * @author easy-query-plugin automatic generation
 * @since 1.0
 */
@Data
@Schema(name = "SysAppSetupTemplate", description = "$table.comment")
@Table(value = "SYS_APP_SETUP_TEMPLATE")
@EntityFileProxy
public class SysAppSetupTemplate implements ProxyEntityAvailable<SysAppSetupTemplate, SysAppSetupTemplateProxy> {

    /**
     * 应用ID
     */
    @Schema(description = "应用ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(primaryKey = true, value = "APP_ID")
    private String appId;

    /**
     * 应用名称
     */
    @Schema(description = "应用名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(value = "APP_NAME")
    private String appName;

    /**
     * 应用英文名
     */
    @Schema(description = "应用英文名")
    @Column(value = "APP_E_NAME")
    private String appEName;

    /**
     * 应用版本号
     */
    @Schema(description = "应用版本号")
    @Column(value = "APP_VER")
    private String appVer;

    @Column(primaryKey = true, value = "TEMPLATE_ID")
    private String templateId;

    /**
     * 应用名称
     */
    @Schema(description = "应用名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(value = "TEMPLATE_NAME")
    private String templateName;

    /**
     * X86,X64
     */
    @Schema(description = "X86,X64", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(value = "PLATFORM")
    private String platform;

    @Column(value = "RUN_APP_NAME")
    private String runAppName;

    @Column(value = "RUN_APP_ARGS")
    private String runAppArgs;

    @Column(value = "RUN_APP_STYLE")
    private String runAppStyle;

    @Column(value = "RUN_APP_TYPE")
    private String runAppType;

    @Column(value = "RUN_APP_SHORTCUT")
    private String runAppShortcut;

    @Column(value = "RUN_APP_DBID")
    private String runAppDbid;

    @Column(value = "UPDATE_URL")
    private String updateUrl;

    @Column(value = "CREATE_DATE")
    private LocalDateTime createDate;

    @Column(value = "CREATE_USER_ID")
    private String createUserId;

    /**
     * 最后更新的日期
     */
    @Schema(description = "最后更新的日期", example = "yyyy-MM-dd HH:mm:ss")
    @Column(value = "UPDATE_DATE")
    private LocalDateTime updateDate;

    @Column(value = "UPDATE_USER_ID")
    private String updateUserId;
}
